import java.util.regex.Pattern;

/**
 * @author liw
 * @date 2023-03-13
 */
public class Test {
    public static void main(String[] args) {
        System.out.println(isInt("a"));
        System.out.println(isInt("10"));
    }
    public static boolean isInt(String s){
        Pattern pattern = Pattern.compile("^[-//+]?[\\d]*$");
        return pattern.matcher(s).matches();

    }
}
